﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>


<%@ Register assembly="ZSModalWindow" namespace="ZSModalWindow" tagprefix="cc1" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <a href="#" onclick="modalwindow_ModalWindow1.show();">open mlodal window</a>
    </div>
    <cc1:ZSModalWindow ID="ModalWindow1" runat="server" AutoOpen="true" WindowTitle="Modal Window title here"
        OnHide="hideAlert" OnShow="showAlert">
        <div>
        <br /><br />
            Hey this is all the content in side modal window. :)
            <br /><br />
        </div>
    </cc1:ZSModalWindow>
    <script type="text/javascript">

        function showAlert() {
            alert('on show callback function');
        }

        function hideAlert() {
            alert('on hide callback function');
        }

             
    </script>
    </form>
</body>
</html>
